﻿<UserControl x:Class="EQual.MainModule.QualityEvents.QualityEventDetailsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dg="http://schemas.microsoft.com/wpf/2008/toolkit" 
    xmlns:Models="clr-namespace:EQual.MainModule" >
    
    <UserControl.Resources >
        <!---->  
        <ObjectDataProvider x:Key="ProjectTypes" ObjectType="{x:Type Models:ProjectsProvider}" MethodName="GetProjectsTypes" />
        <ObjectDataProvider x:Key="ProjectStatusTypes" ObjectType="{x:Type Models:ProjectsProvider}" MethodName="GetProjectsStatusTypes" />
        <ObjectDataProvider x:Key="Employees" ObjectType="{x:Type Models:EmployeesProvider}" MethodName="GetEmployees" />
        
    </UserControl.Resources>
    <Grid  Height="199" Width="646">
        
        <TextBox Text="{Binding QualityEventId}"  Height="23" HorizontalAlignment="Left" Margin="10,44,0,0" Name="textBox1" VerticalAlignment="Top" Width="120" />
        <Label Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label1" VerticalAlignment="Top" Width="120">Event Id</Label>
        <TextBox Text="{Binding Subject}"  Height="23" HorizontalAlignment="Left" Margin="170,44,0,0" Name="textBox2" VerticalAlignment="Top" Width="120" />
        <Label Height="28" HorizontalAlignment="Left" Margin="170,10,0,0" Name="label2" VerticalAlignment="Top" Width="120">Subject</Label>
        <Label Height="28" Margin="312,10,214,0" Name="label3" VerticalAlignment="Top"  >EventDate</Label>
        <dg:DatePicker SelectedDate="{Binding Path=Date, Mode=TwoWay}" Margin="312,44,190,0" Height="24" VerticalAlignment="Top"   />
    </Grid>
</UserControl>
